//
//  PywLoginGameView.h
//  PywSdk
//
//  Created by Jade on 4/7/16.
//  Copyright © 2016 zero. All rights reserved.
//

#import <UIKit/UIKit.h>
/*游戏账号登录*/
@class PywLoginGameView;
/**
 *  其他方式登录
 *
 *  @param loginGameView <#loginGameView description#>
 */
typedef void(^OtherloginCompletion)(PywLoginGameView *loginGameView);
/**
 *  登陆游戏账号
 *
 *  @param loginGameView <#loginGameView description#>
 */
typedef void(^AccountLoginCompletion)(PywLoginGameView *loginGameView);
/**
 *  新建游戏账号
 *
 *  @param loginGameView <#loginGameView description#>
 */
typedef void (^ResgisterNewGameAccountCompletion)(PywLoginGameView *loginGameView);
/**
 *  返回登录页面
 *
 *  @param loginGameView <#loginGameView description#>
 */
typedef void (^ReturnbackLoginCompletion)(PywLoginGameView *loginGameView);

@interface PywLoginGameView : UIView
@property (nonatomic,copy) OtherloginCompletion otherloginCompletion;
@property (nonatomic,copy) AccountLoginCompletion accountLoginCompletion;
@property (nonatomic,copy) ResgisterNewGameAccountCompletion resgisterNewGameAccountCompletion;
@property (nonatomic,copy) ReturnbackLoginCompletion returnbackLoginCompletion;
- (instancetype)initWithAccountList:(NSArray *)accountList;

/**
 *  添加到父视图
 *
 *  @param superView   superView
 */
- (void)add2SuperView:(UIView *)superView;
@end